package data;

public class Waypoint {

		/*
		 * Waypoint looks like:
		 * <wpt lat="48.742179" lon="9.175264">
        <time>2013-02-11T14:10:46Z</time>
        <name>37.02</name> 
        <color></color>
      </wpt>
		 */
	
	private Double latitude;
	private Double longitude;
	private String time = "";
	private Double name;

	
	public Waypoint(Double latitude, Double longitude, String time,
			Double name) {
		super();
		this.latitude = latitude;
		this.longitude = longitude;
		this.time = time;
		this.name = name;
//		summe += name;

	}


	public Double getName(){		
		return this.name;
	}
	public String getCoordinates(){
		String s;		
		s = longitude + "," + latitude + ",0\n";		
		return s;
	}
}
